<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="demo.css">
</head>
<body>
    <div class="demo"></div>
    <script src="../js/jquery.js"></script>
    <script src="demo.js"></script>
    <script>

        $('.demo').page({
            current:1,
            total:10,
            change:function (page) {
                console.log(page)
            }
        })
    </script>
    
</body>
</html>